<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统页面</title>
 	<script type="text/javascript" src="${basePath}js/jquery/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="${basePath}js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${basePath}js/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="${basePath}js/system/serialize.js"></script>

	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/color.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/default.css">
	<script type="text/javascript">
		var basePath = "${basePath}";
		var datacom = [  
		               {  
		                   "id": 0,  
		                   "text": "0"  ,
		                   "sort":1
		               },  
		                {  
		                    "id": 1,  
		                    "text": "1",
		                    "sort":1
		                },  
		                 {  
		                     "id": 2,  
		                     "text": "2"  ,
		                     "sort":3
		                 },  
		                  {  
		                      "id": 3,  
		                      "text": "3",
		                      "sort":4
		                  }  
		       ];
		$(function () {
		    $('#cc').combobox({
		        valueField: 'id',
		        textField: 'text',
		        //url: basePath+'dept/loadDeptType'
		        data: datacom  
		    });			
		});

		
	</script>	
</head>

<body  style="background-color: white;">
<form id="ff" method="post">

    <div>
		<label for="deptType">部门类型:</label>
		<select id="cc" class="easyui-combobox" style="width: 200px">  </select>
	
    </div>
    
    <!-- form -->
 	<h2>Basic TextBox</h2>
	<p>The textbox allows a user to enter information.</p>
	<div style="margin:20px 0;"></div>
	<div class="easyui-panel" title="Register" style="width:400px;padding:30px 60px">
		<div style="margin-bottom:20px">
			<div>Email:</div>
			<input class="easyui-textbox" data-options="prompt:'Enter a email address...',validType:'email'" style="width:100%;height:32px">
		</div>
		<div style="margin-bottom:20px">
			<div>First Name:</div>
			<input class="easyui-textbox" style="width:100%;height:32px">
		</div>
		<div style="margin-bottom:20px">
			<div>Last Name:</div>
			<input class="easyui-textbox" style="width:100%;height:32px">
		</div>
		<div style="margin-bottom:20px">
			<div>Company:</div>
			<input class="easyui-textbox" style="width:100%;height:32px">
		</div>
		
		<div>
			<a href="#" class="easyui-linkbutton" iconCls="icon-ok" style="width:100%;height:32px">Register</a>
		</div>
	</div>       
</form>

	
</body>

</html>